<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\RedPacket
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property float $amount 发送的红包金额
 * @property int $is_receive 是否接收
 * @property int $is_full 是否全额发放
 * @property int $status 发送状态
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @property string|null $deleted_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\RedPacket onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereIsFull($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereIsReceive($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RedPacket whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\RedPacket withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\RedPacket withoutTrashed()
 * @mixin \Eloquent
 */
class RedPacket extends Model
{
    protected $table='red_packet';
    use SoftDeletes;
}